package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    //新增套餐
    void saveWithDish(SetmealDto setmealDto);

    //删除套餐
    void deleteWithDish(List<Long> ids);

    //根据id查询套餐
    SetmealDto getByIdWithDish(Long id);

    //修改套餐
    void updateWithDish(SetmealDto setmealDto);

    //修改套餐状态
    void changeStatus(Integer status, List<Long> ids);
}
